#include <stdio.h>


int main()
{
  int num1 = 100;
  int num2 = 30;
  /*运算符号加法*/

  int sum = num1 + num2;
  printf("sun:%d\n",sum);
  /*运算符减法*/
 int minus = num1 - num2;
  printf("minus:%d\n",minus);
  
   /*运算符乘法*/
 int mulpti = num1 * num2;
  printf("mulpti:%d\n",mulpti);

   /*运算符除法*/
 float division = num1 / num2;
  printf("division:%d\n",division);

  /*运算符取余*/
  int remainder = num1 % num2;
  printf("remainder:%d\n",remainder);

  /* 运算符 += 和 ++ */
     num1 = num1 + 1;
     printf("num1:%d\n",num1);

     /*num1 = num1 + 1*/
     num1 += 1;

     printf("num1:%d\n",num1);
     num1++;
     printf("num1:%d\n",num1);

 /* 运算符 -= 和 -- */
     num2 = num2 - 10;
     printf("num2:%d\n",num2);

     /*num1 = num1 + 1*/
     num1 -= 10;

     printf("num2:%d\n",num2);

     num2--;
     printf("num2:%d\n",num2);

#if 0

    条件表达式  ==
    条件表达式的结果要么为1要么为0



#endif


#if 0

    双目运算符
     /* && || !(与或非)*/
     && ：两边条件表达式都满足  才为真
     || ：两边条件表达式存在一个为1，只有都为0时才为0；
     ！ ：取反
      

#endif
  

}